#include<bits/stdc++.h>
using namespace std;
int n,m,k;
int a[100][100],b[100][100];
int main(){
	freopen("replace.in","r",stdin);
	freopen("replace.out","w",stdout);
	cout<<"0\n0\n0\n0\n";
	fclose(stdin);
	fclose(stdout);
	return 0;
}
